﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace ConnectToDatabase.Model
{
    [Serializable()]
    public class DSSanPham
    {
        string m_sMaNhomSanPham;
        string m_sTenDauSanPham;
        string m_sTenLoaiSanPham;
        string m_sTenNhaPP;
        int m_iGiaBan;
        string m_sMauSac;
        float m_fKichThuoc;
        int m_iSoLuongHienTai;

        public int SoLuongHienTai
        {
            get { return m_iSoLuongHienTai; }
            set { m_iSoLuongHienTai = value; }
        }

        public string MaNhomSanPham
        {
            get { return m_sMaNhomSanPham; }
            set { m_sMaNhomSanPham = value; }
        }

        public string TenDauSanPham
        {
            get { return m_sTenDauSanPham; }
            set { m_sTenDauSanPham = value; }
        }

        public string TenLoaiSanPham
        {
            get { return m_sTenLoaiSanPham; }
            set { m_sTenLoaiSanPham = value; }
        }

        public string TenNhaPP
        {
            get { return m_sTenNhaPP; }
            set { m_sTenNhaPP = value; }
        }

        public int GiaBan
        {
            get { return m_iGiaBan; }
            set { m_iGiaBan = value; }
        }

        public string MauSac
        {
            get { return m_sMauSac; }
            set { m_sMauSac = value; }
        }

        public float KichThuoc
        {
            get { return m_fKichThuoc; }
            set { m_fKichThuoc = value; }
        }
    }
}
